package com.yiren.backstage.currency.enums;

/**
 * Time:2021/10/29 8:59
 * Author:xiaozan
 * Description: 车辆状态枚举
 */
public enum CarStateNameEnum {

    /***************************特殊状态********************************/
    JUDGE_EXECUTE_FINISH("评判执行完成", "用于判断项目中评判是否执行完成（项目完成是否超时）"),

    /***************************灯光状态********************************/
    DRIVING_LAMP("行车灯", "行车"),

    CAUTION_LIGHT("警示灯", "警示"),

    DISTANCE_LIGHT("远光灯", "远光"),

    PASSING_LIGHT("近光灯", "近光"),

    PASSING_OR_DISTANCE_LIGHT("近光灯或者远光灯", "近光灯或者远光灯"),

    DISTANCE_LIGHT_ALTERNATE("远近交替（次数）"),

    FOGLIGHT("雾灯", "雾灯"),

    LEFT_LIGHT("左转灯", "左转"),

    RIGHT_LIGHT("右转灯", "右转"),

    /***************************外接传感器信号********************************/
    CAR_HEAD_LEFT("左前", "绕车"),

    CAR_TAIL_RIGHT("右后", "绕车"),

    CAR_HEAD_RIGHT("右前", "绕车"),

    CAR_TAIL_LEFT("左后", "绕车"),

    REARVIEW_MIRROR("后视镜", "三摸"),

    REFLECTOR_MIRROR("反光镜", "三摸"),

    SEAT("座椅", "三摸"),

    FINGERPRINT_INSTRUMENT("指纹仪", "指纹仪"),

    /***************************车辆基础信号********************************/
    CAR_DOOR("车门", "车门"),

    CAR_KEY("钥匙", "钥匙"),

    RAIN_WIPPER("雨刮器", "雨刮"),

    SAFETY_BELT("安全带", "安全带"),

    PARKING_BRAKE("手刹", "手刹"),

    FOOT_BRAKE("脚刹", "脚刹"),

    SEPARATION_REUNION("离合", "离合"),

    HORN("喇叭", "喇叭"),

    GEAR("档位", "档位"),

    ROTATE_SPEED("转速"),

    SPEED("车速"),

    MILEAGE("里程"),

    /***************************封装信号********************************/
    FLAMEOUT("熄火"),

    DISTANCE_SIDE_LINE("偏转距离"),

    DEFLECTION_ANGLE("陀螺仪偏转角度(不区分左右)"),

    LEFT_DEFLECTION_ANGLE("陀螺仪左偏转角度(左)"),

    RIGHT_DEFLECTION_ANGLE("陀螺仪右偏转角度(右)"),

    BRAKE_NO_STABLE("车辆制动不平顺检测"),

    QIBU_THROUGH_DYNAMIC("起步闯动"),

    BY_PASS_GEAR("越级挂挡"),

    HURRY_OF_DIRECTION("急打方向"),

    /***************************高精度状态********************************/
    BACK_SKATE_DISTANCE("后溜距离"),

    CAR_TOP_PROHIBIT_REGION("将车辆停在人行横道、网状线内等禁止停车区域"),

    CAR_INTERSECTS_SCQY("车辆与刹车区域相交检测"),

    LEFT_LANE_CHANGE("左变道"),

    RIGHT_LANE_CHANGE("右变道"),

    CAR_PRESS_XJJT("车压行驶箭头"),

    PRESS_QB_KB_FULL_LINE("压起步靠边实线"),

    PRESS_S_LINE("压实线"),

    PRESS_X_LINE("压虚线"),

    PRESS_ZXQ("压中心圈"),

    TZX_CAR_PASS("压停止线"),

    RXHDX_CAR_PASS("压人行横道线"),

    ZXQ_RIGHT_TURN_CIRCLE("中心圈右侧转弯"),

    RXHDX_TURN_ROUND("人行横道线掉头检测"),

    LEFT_FRONT_DISTANCE("左前轮距离边线"),

    LEFT_BACK_DISTANCE("左后轮距离边线"),

    RIGHT_FRONT_DISTANCE("右前轮距离边线"),

    RIGHT_BACK_DISTANCE("右后轮距离边线");


    private String description;         //描述信息
    private String easyDescription;     //简单描述
    private String parameterDescription;//参数描述
    private String code;                //代码

    CarStateNameEnum(String description) {
        this.description = description;
        this.code = toString();
    }

    CarStateNameEnum(String description, String easyDescription) {
        this.description = description;
        this.easyDescription = easyDescription;
        this.code = toString();
    }

    CarStateNameEnum(String description, String easyDescription, String parameterDescription) {
        this.description = description;
        this.easyDescription = easyDescription;
        this.code = toString();
        this.parameterDescription = parameterDescription;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getEasyDescription() {
        return easyDescription;
    }

    public void setEasyDescription(String easyDescription) {
        this.easyDescription = easyDescription;
    }

    public String getParameterDescription() {
        return parameterDescription;
    }

    public void setParameterDescription(String parameterDescription) {
        this.parameterDescription = parameterDescription;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}